package com.drama.api.sys.organization.dao;

import com.drama.api.sys.organization.domain.po.SysOrganizationPO;
import com.drama.api.sys.organization.domain.vo.SysOrganizationSearchTreeVO;
import com.drama.api.sys.organization.domain.vo.SysOrganizationSearchVO;
import com.drama.api.sys.organization.domain.vo.SysOrganizationVO;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface SysOrganizationDao extends Mapper<SysOrganizationPO> {
    List<SysOrganizationVO> getList(SysOrganizationSearchVO searchVO);

    List<SysOrganizationVO> getTreeList(SysOrganizationSearchTreeVO searchVO);
}